<?php defined('KX_ROOT') || exit('Permission denied');?><!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
	<title>Document</title>
	<link rel="stylesheet" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/css/global.css"/>
	<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/js/flexible.min.js"></script>
    <style>
        select {
            border: none;
            -webkit-appearance: none;
            -webkit-tap-highlight-color: #fff;
            outline: 0;
            padding: 0 .1rem;
        }
        .icon{
            padding-top: 1rem;
            width: 100%;
            height: 69px;
            background-position: center;
            background-repeat: no-repeat;
        }
        .icon.success {
            background-image: url("<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/images/read_bg_selecd.png");
        }
        .icon.error{
            background-image: url("<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/images/img_delete.png");
        }
    </style>
</head>
<body>
    <form method="post">
        <div class="w100 vh100">
            <div class="w100  bg-white flex-wrp flex-align-center flex-between lh100 plr15 ptb15">
                <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/images/return.png" class="pt-return">
                <div class="size18 bold color37"><?php echo $msgname;?><?php echo $msgtitle;?>提示</div>
                <div></div>
            </div>
            <div class="bg-white mt10">
                <div class="icon <?php echo $msgtype;?>"></div>

                <div class="flex-wrp flex-align-center flex-between plr15 ptb15">
                    <h4 class="color2 text-center w100"><?php echo $message;?></h4>
                </div>
                <div class="flex-wrp flex-align-center flex-between plr15 pb15 border-b">
                    <?php if($waitsecond):?>
                    <div class="text-center w100 size12">
                        <span id="second"><?php echo $waitsecond;?></span>秒后自动跳转,如果浏览器没有自动跳转，请 <a href="javascript:redirect()" id="jumourl" class="color2">点击这里</a>
                    </div>
                    <?php endif;?>
                </div>
            </div>
        </div>
    </form>
    <script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/js/jquery-3.3.1.js"></script>
    <?php if($waitsecond):?>
    <script type = "text/javascript">
        var time = parseInt("<?php echo $waitsecond;?>");
        function redirect() {
            var url = "<?php echo $jumpurl;?>";
            if (url == '#back#') {
                history.back(-1);
            } else if (url == '#close#') {
                window.close();
            } else {
                location.href = url;
            }
        }
        function change() {
            document.getElementById('second').innerHTML = --time;
            if (time == 0) {
                clearInterval(t);
                redirect();
            }
        }
        t = setInterval('change()', 1000);
    </script>
    <?php endif;?>
	<script>
		$('.pt-return').click(function(){
			window.history.back();
		})
	</script>
</body>
</html>